import request from "@/tools/request";

export const loadMEssage=(pageIndex,pageSize)=>{
    return request.get("/file/load",{
        params:{
            "pageIndex":pageIndex,
            "pageSize":pageSize
        }
    })
}

export const loadsearch=(pageIndex,pageSize,filename,type)=>{
    return request.get("/file/load",{
        params:{
            "pageIndex":pageIndex,
            "pageSize":pageSize,
            "filename":filename,
            "fileType":type
        }
    })
}